package com.ruoyi.blog.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.ruoyi.common.annotation.ExcelDictFormat;
import com.ruoyi.common.convert.ExcelDictConvert;
import lombok.Data;
import java.util.Date;



/**
 * 博客评论视图对象 blog_comment
 *
 * @author ruoyi
 * @date 2023-10-03
 */
@Data
@ExcelIgnoreUnannotated
public class BlogCommentVo {

    private static final long serialVersionUID = 1L;

    /**
     * 博客评论id
     */
    @ExcelProperty(value = "博客评论id")
    private Long commentId;

    /**
     * 博客文章id
     */
    @ExcelProperty(value = "博客文章id")
    private String articleId;

    /**
     * 评论正文
     */
    @ExcelProperty(value = "评论正文")
    private String commentContext;

    /**
     * 是否置顶
     */
    @ExcelProperty(value = "是否置顶", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "sys_yes_no")
    private Integer topping;

    /**
     * 是否显示
     */
    @ExcelProperty(value = "是否显示", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "sys_show_hide")
    private Integer isShow;

    /**
     * 博客评论父id
     */
    @ExcelProperty(value = "博客评论父id")
    private Long parentId;

    /**
     * 文章名称
     */
    @ExcelProperty(value = "文章名称")
    private String articleName;

    /**
     * 更新时间
     */
    @ExcelProperty(value = "更新时间")
    private Date updateTime;

    /**
     * 创建时间
     */
    @ExcelProperty(value = "创建时间")
    private Date createTime;

    /**
     * 创建者
     */
    @ExcelProperty(value = "创建者")
    private String createBy;
}
